Optimal. Leaf size=55 \[ \frac{B \sqrt{b x+c x^2}}{c}-\frac{(b B-2 A c) \tanh ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b x+c x^2}}\right )}{c^{3/2}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0624613, antiderivative size = 55, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158 \[ \frac{B \sqrt{b x+c x^2}}{c}-\frac{(b B-2 A c) \tanh ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b x+c x^2}}\right )}{c^{3/2}} \]
Antiderivative was successfully verified.
[In] Int[(A + B*x)/Sqrt[b*x + c*x^2],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 7.72201, size = 48, normalized size = 0.87 \[ \frac{B \sqrt{b x + c x^{2}}}{c} + \frac{\left (2 A c - B b\right ) \operatorname{atanh}{\left (\frac{\sqrt{c} x}{\sqrt{b x + c x^{2}}} \right )}}{c^{\frac{3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)/(c*x**2+b*x)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0737004, size = 79, normalized size = 1.44 \[ \frac{\sqrt{x} \sqrt{b+c x} (2 A c-b B) \log \left (\sqrt{c} \sqrt{b+c x}+c \sqrt{x}\right )+B \sqrt{c} x (b+c x)}{c^{3/2} \sqrt{x (b+c x)}} \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x)/Sqrt[b*x + c*x^2],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.008, size = 78, normalized size = 1.4 \[{A\ln \left ({1 \left ({\frac{b}{2}}+cx \right ){\frac{1}{\sqrt{c}}}}+\sqrt{c{x}^{2}+bx} \right ){\frac{1}{\sqrt{c}}}}+{\frac{B}{c}\sqrt{c{x}^{2}+bx}}-{\frac{Bb}{2}\ln \left ({1 \left ({\frac{b}{2}}+cx \right ){\frac{1}{\sqrt{c}}}}+\sqrt{c{x}^{2}+bx} \right ){c}^{-{\frac{3}{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)/(c*x^2+b*x)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/sqrt(c*x^2 + b*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.289004, size = 1, normalized size = 0.02 \[ \left [\frac{2 \, \sqrt{c x^{2} + b x} B \sqrt{c} -{\left (B b - 2 \, A c\right )} \log \left ({\left (2 \, c x + b\right )} \sqrt{c} + 2 \, \sqrt{c x^{2} + b x} c\right )}{2 \, c^{\frac{3}{2}}}, \frac{\sqrt{c x^{2} + b x} B \sqrt{-c} -{\left (B b - 2 \, A c\right )} \arctan \left (\frac{\sqrt{c x^{2} + b x} \sqrt{-c}}{c x}\right )}{\sqrt{-c} c}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/sqrt(c*x^2 + b*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{A + B x}{\sqrt{x \left (b + c x\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)/(c*x**2+b*x)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.290491, size = 81, normalized size = 1.47 \[ \frac{\sqrt{c x^{2} + b x} B}{c} + \frac{{\left (B b - 2 \, A c\right )}{\rm ln}\left ({\left | -2 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )} \sqrt{c} - b \right |}\right )}{2 \, c^{\frac{3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/sqrt(c*x^2 + b*x),x, algorithm="giac")
[Out]